package com.xingdian.xingdianhulianserver.mapper;

import com.xingdian.xingdianhulianserver.common.QueryObject;
import com.xingdian.xingdianhulianserver.vo.ProjectJoin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProjectJoinMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProjectJoin record);

    int insertSelective(ProjectJoin record);

    ProjectJoin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProjectJoin record);

    int updateByPrimaryKey(ProjectJoin record);

    //统计加盟品牌数量
    int countInfo(QueryObject queryObject);

    //查询加盟品牌
    List<ProjectJoin> findinfo(QueryObject queryObject);

    //逻辑删除品牌
    void delprojectjoin(Integer id);
}